<!DOCTYPE html>
<html>
<head>
     <meta charset="utf-8">
	<title>公司内部网站</title>
    <link rel="stylesheet" type="text/css" href="css/1.css">
	<style type="text/css">

	 .clear{
	  clear:both;	
    overflow:hidden;
  }
	.fl{
		float: left;
	}
	.fr{
		float: right;
	}
	/*.top1-2*/ul{
		list-style: none;
		margin-bottom: 0px;
		padding-top: 0px;
	}
     .top1-1{
     	border-top: #EEE8AA;
     	border-bottom: #EEE8AA;
     	border-width: 2px 0px 2px 0px;
     	border-style: solid;
        background-color: #EEEEEE;
	}
     .top1-2{
     	float: left;
     	width: 100%;
     	margin-right:300px;
     	margin-top:0px;
     	padding-top: 0px;
     }
     .top1-2 ,li{
     	float: right;
     	padding-top: 10px;
     	font-size: 18px;
     	margin-right: 10px;
     }
     .top1-3{
     	padding-top: 0px;
     /*	margin-right:650px;*/
        margin-left: 20px;
     }
     .top1-4{
     margin-top:20px; 
     font-size: 30px;
     color:#ff4500;
     }
     .bottom1-1{
        width: 100%；
     }
     .bottom1-1 table{
        width: 100%;
     }
     .center-lf{
        display: block;
        /*float: left;*/
        width: 20%；
        height:400px;
        padding-bottom: 200px;
        margin-top: 2px;
        margin-left: 10px;
        background-color: #e2e2e2 ;
     }
     .center-lf>li{
        
        float: left;
        width: 90%;
        padding-left: 10%;
        padding-top: 50px;
        height:50px;
        margin-right: 0px;      
     }
     .a0000:hover{
               border-radius: 10px;
               background-color: #fff;              
               border-style: solid;          
     }
     .center-rg{

        display: block;
        float: right;
       
        /*width:65%;*/
        height: 600px; 
     }
     .center-rg>li{
        float: left;
        width: 100%;
        height:300px;
        margin-right: 0px;

     }
    .center-rg>.left{
        height: 300px;
        width:50%;
     }
     .button2-1{
        float: left;
    width: 150px;
    height:100px;
    font-size: 16px;
    color:white; 
    line-height: 100px;
    background-color: #4da34c;
    border-radius: 20px;
    margin-top: 2px;
}
td{
    text-align: center;
}



	</style>
    <bgsound src="music/1.mp3" loop="-1">
</head>
<body>
   <div class="top1-1 clear" >

    <ul class=" clear top1-2">
     <li class="fl top1-3 clear"><img src="img/3.jpg" class="fl"><div class="top1-4 fl">Xx有限资源公司</div></li>

     <li style="margin-right: 40px">设置</li>
     <li ><a href="img/4.gif">帮助</a></li>  
     <li>薪酬待遇</li>
     <li>奖励记录</li>   
     <li>活动</li>
     <li>违规情况</li>
     <li>用户中心</li> 
     
     
    </ul>
   </div>
   <div class="bottom1-1 clear" >
    <table>
   <tr>
   <td style="width: 20%">
    <ul class="center-lf clear" ><!-- 用户选项卡 -->
    <li><img src="img/7.jpg" alt="" style="border-radius:25%; overflow:hidden;"></li>
    <li></li>
    <li class="a0000"><a href="mima.html">修改密码</a></li>
    <li class="a0000"><a href="update.html">人事管理</a></li>

   </ul>
   </td>
   <td style="width: 70%" >
      <table class="bumenmingdan"  border="2" boder-color="#e2e2e2" cellspacing="0" cellpadding="5"  text-align="center" >
    <tr>
    <td>岗位编码</td><td>名字</td><td>职位名称</td><td>入职时间</td><td>底薪</td><td>操作</td>
    </tr>
    <?php
    $con=mysql_connect("localhost","root","1234");
    mysql_query("set names utf8");
    mysql_select_db("sql");
    $sql="select * from bumen";
    $r=mysql_query($sql,$con);
    while($rows=mysql_fetch_array($r))
    {
    ?>
    <tr>
    <td><?php echo $rows['department']; ?></td>
    <td border="1"><?php echo $rows['username']; ?></td>
    <td><?php echo $rows['job']; ?></td>
    <td><?php echo $rows['nyr']; ?></td>
    <td><?php echo $rows['xinshui']; ?> </td>
    <td>
     <a href="saveupdate.php?un=<?php echo $rows['username']; ?>">修改</a>
    </td>
    </tr>
    <?php
    }
    ?>
   <form action="insert.php" meta="get">
   <tr><td colspan="6"><input type="submit" name="" value="添加" style="width: 200px; height: 50px;"></td></tr>
   </form>
    

   </table>
   </td>
   </tr>
   </table>

   
  
   </div>
</body>

</html>